package com.mcxx.formulcount.gonshi;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class RuntimeContext {
	
		public Map<String, Object> Vars = new ConcurrentHashMap<String, Object>();
		
		public Map<String, Object> retVars = new ConcurrentHashMap<String, Object>();
		public final java.util.Dictionary<String,Object> AllVars()
		{
			java.util.Dictionary<String, Object> rnt = new java.util.Hashtable<String, Object>();
			for(String v : Vars.keySet())
			{
				rnt.put( v, Vars.get(v));
			}

			for(String v : retVars.keySet())
			{
				rnt.put(v,retVars.get(v));
			}
			return rnt;
		}
}
